#include "taskTest.h"

taskTest::taskTest()
{
    isrun = true;
    showtime = false;
}

void taskTest::putReq(int op, QString pa)
{
    struct testReq r;

    r.op = op;
    r.param = pa;

    req.push_back(r);
}

bool taskTest::getReq(struct testReq &r)
{
    if (req.isEmpty())
        return false;

    r = req.takeFirst();

    return true;
}
